<template>
	<div id="login">
		<center>
		    <h1>登录</h1>
		</center>
		<form class="form-horizontal">
		    <div class="form-group col-sm-10 input-lg">
		        <label for="inputEmail3" class="col-sm-2 control-label">邮箱</label>
		        <div class="col-sm-10">
		            <input type="email" class="form-control" id="email" placeholder="Email">
		        </div>
		    </div>
		    <div class="form-group col-sm-10 input-lg">
		        <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
		        <div class="col-sm-10">
		            <input type="password" class="form-control" id="password" placeholder="Password">
		        </div>
		    </div>
		    <div class="form-group col-sm-10 input-lg">
		        <div class="col-sm-offset-2 col-sm-10">
		            <div class="checkbox">
		                <label>
		                    <input type="checkbox" id="jizhu">记住账号
		                </label>
		            </div>
		        </div>
		    </div>
		    <div class="form-group col-sm-10 input-lg">
		        <div class="col-sm-offset-2 col-sm-10">
		            <button type="button" class="btn btn-default" id="deng">登录</button>
		            <button type="button" class="btn btn-default" id="hui" @click="gohome">回到首页</button>
		        </div>
		    </div>
		</form>
	</div>
</template>
<script>
	export default {
		name:'Login',
		props:{},
		data(){
		  return {
			
		  }
		},
		components:{},
		mounted(){},
		updated(){},
		methods:{
			gohome(){
				this.$router.replace('/home')
			}
		}
	}
</script>

<style scoped>
	body{
		background-color: #fff;
	}
	#hui{
	    float: right;
	}
	#login h1{
		color:#000000
	}
</style>
